WeDevs\Wpuf\Frontend\Payment D

Total Complexity 158
Dependencies 7
Dependents 5
Total lines 956
Lines of code 690
Logical lines of code 390
Comment lines 166
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
payment_page()
D
19
41 275
send_to_gateway()
C
33 24 85
replace_email_placeholders()
A
46 16 34
generate_and_send_invoice()
A
38 13 61
insert_payment()
A
46 11 37
send_invoice_email()
A
49 8 28
payment_notify_user()
S
49 7 27
get_invoice_item_name()
S
57 7 16
get_user_notification_content()
S
46 5 45
determine_user_payment_type()
S
61 7 12
handle_cancel_payment()
S
61 7 10
get_active_gateways()
S
61 4 12
wpuf_send_invoice()
S
61 3 12
get_payment_gateways()
S
59 1 15
is_invoice_image_exists()
S
68 2 7
__construct()
S
68 1 7
payment_notify_admin()
S
66 1 7